package controller.view.impl;

import java.applet.Applet;
import java.util.List;

import javax.swing.JFrame;

import controller.NLSimulator;

public class NLSimulatorSwingView extends JFrame {

	public NLSimulatorSwingView(NLSimulator nls){
		Applet a = new NLSimulatorGLView(nls);
		super.add(a);
		super.setSize(550, 550);
		setVisible(true);
	}
	
	public NLSimulatorSwingView(List<NLSimulator> nls){
		Applet a = new NLSimulatorGLView(nls);
		super.add(a);
		super.setSize(550, 550);
		setVisible(true);
	}
	
}
